<?php
namespace app\center\validate;
use think\Validate;

/**
 * 事项流程信息验证器
 * Created by PhpStorm.
 * User: tyll
 * Date: 2019/10/09
 * Time: 10:18
 */
class MatterFlow extends Validate{

    protected $rule = [
        'action'       => 'require'
    ];

    protected $message = [
        'action.require'       => '动作必须填写'
    ];

    protected $scene = [
        'add'  => ['action']
    ];
}